<?php

namespace App\Models;

    use Illuminate\Database\Eloquent\Model;

class OrderDetail extends Model {

    protected $guarded = [];
    protected $table = 'order_detail';

    public function order(){
        return $this->belongsTo('App\Models\Order', 'order_id');
    }
    
}
